package com.woniuxy.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.system.entity.PerformancePost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 岗位管理 Mapper 接口
 * </p>
 *
 * @author woniuxy
 * @since 2022-06-01
 */
@Mapper
public interface PerformancePostMapper extends BaseMapper<PerformancePost> {
    Page<PerformancePost> getAllPerformancePost(@Param("page")IPage<PerformancePost> page, @Param(Constants.WRAPPER)Wrapper<PerformancePost> wrapper);
    List<PerformancePost> getPerformancePostTree();
}
